*{
    padding: 0;
    margin: 0;
}
body{
    background-color: rgb(126, 141, 160);
    height: 110%;
    margin-bottom: 50px;
}
/* 导航栏 */
.nav{
    /* position: relative; */
    /* float: right; */
    height: 60px;
    width: 100%;
    margin: 0 auto;
    background: linear-gradient(45deg,rgb(44, 53, 63),rgb(93, 97, 105))
}
.page>img{
    margin: 0 40px;
    float: left;
    /* top: -10px; */
    width: 200px;
    height: 60px;
}
a{
    color:rgb(14, 16, 32);
    display: block;
    text-decoration: none;
}
.nav li{
    list-style: none;
    left: 50px;
    position: relative;
    width: 10%;
    height: 100%;
    line-height: 60px;
    letter-spacing: 2px;
    float: left;
    /* color: rgb(30, 36, 61); */
    margin: 0 auto;
    text-align: center;
    cursor: pointer;

}
.nav>li>a:hover{
    color: rgb(228, 243, 255);
    background-color: rgb(53, 70, 107);
}
.top>img{
    width: 100%;
}
/* 留言板 */

.container{
    display: flex;
    justify-content: center;
}
.comment-box{
    background-color: rgb(255, 255, 255);
    width: 85%;
    margin-top: 50px;
    padding: 5px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}
button{
    color: rgb(255, 255, 255);
    background: rgb(77, 118, 165);
    border: 0;
    margin: 12px 0 0 10px;
    padding: 12px 20px;
    border-radius: 5px;
    transition: all 1s ease;
} 
button:hover{
    background: rgb(43, 59, 94);
}
button.btn-close{
    background-color: rgb(49, 60, 99);
}
.header{
    margin: 15px 20px;
    font-size: 27px;
    font-weight: 600;
}
input[type="text"],
textarea{
    margin: 5px 10px;
    outline: none;
    background: rgb(241, 241, 243);
    border: 0;
    padding: 10px;
    border-radius: 5px;
}
textarea{
    width: 85%;
    height: 70px;
    resize: none;
}
input[type="text"]{
    width: 50%;
    margin-bottom: 15px;
}
hr{
    border: 0;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.3);
}
h4{
    margin: 10px 30px;
}
span.date{
    font-weight: 300px;
    font-size: 12px;
    float: right;
    margin-right: 10px;
}
.comment-box p{
    margin: 0 30px 15px;
    font-weight: 300;
    color: #333;
    background: #eee;
    padding: 30px 15px;
    /* 自动换行 */
    word-wrap: break-word; 
}
textarea:disabled,
[type="text"]:disabled,
button:disabled{
    color: rgb(255, 255, 255);
    background-color: rgb(146, 140, 140);
    cursor: not-allowed;
}
button:disabled:hover{
    background-color: gray;
}